package cn.trda.mapper;

import java.util.List;

import cn.trda.pojo.User;
import cn.trda.pojo.UserExt;

public interface AsUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);
    User selectByUser(User user);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    List<User> selectByusercode(String usercode);
    List<User> getPagedUsers(UserExt user);
	int getPagedCount(UserExt user);
}